<!--
 * @description: 登录
 * @ued: ued url
 * @ui: ui url
-->
<template>
  <div class="login">
    <button @click="login">登录</button>
  </div>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
import { setToken } from 'utils/token'

export default defineComponent({
  methods: {
    login() {
      setToken('css')
      this.$router.push('/home')
    }
  }
})
</script>
